package com.kch.system.wechat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

public class WechatLogin {

    @NotBlank(message = "编码不能为空")
    private String code;

  /*  *//**
     * 用户非敏感信息
     *//*
    @NotEmpty(message = "rawData不能为空")
    private String rawData;

    *//**
     * 签名
     *//*
    @NotEmpty(message = "签名不能为空")
    private String signature;

    *//**
     * 用户敏感信息
     *//*
    @NotEmpty(message = "encryptedData不能为空")
    private String encryptedData;

    *//**
     * 偏移量
     *//*
    @NotEmpty(message = "iv不能为空")
    private String iv;*/

    public @NotBlank(message = "编码不能为空") String getCode() {
        return code;
    }

    public void setCode(@NotBlank(message = "编码不能为空") String code) {
        this.code = code;
    }

}
